package br.ufrj.dcc.ad.model;

public class ACK {

	private final Long nextByte;
	private final Integer sessionId;
	private final Package pack;
	
	public ACK(Integer sessionId, Long nextByte, Package pack) {
		this.sessionId = sessionId;
		this.nextByte = nextByte;
		this.pack = pack;
	}

	public Long getNextByte() {
		return nextByte;
	}

	public Integer getSessionId() {
		return sessionId;
	}	
	
	@Override
	public String toString() {
		return "ACK"+nextByte;
	}

	public Package getPack() {
		return pack;
	}
}
